/*
 *代码由框架生成,任何更改都可能导致被代码生成器覆盖
 *如果数据库字段发生变化，请在代码生器重新生成此Model
 */
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using VOL.Entity.SystemModels;

namespace VOL.Entity.DomainModels
{
    [Entity(TableCnName = "消息提示", TableName = "zm_message")]
    public partial class zm_message : BaseEntity
    {
        /// <summary>
        ///
        /// </summary>
        [Key]
        [Display(Name = "id")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        [Editable(true)]
        [Required(AllowEmptyStrings = false)]
        public string id { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "xzqdm")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        [Editable(true)]
        public string xzqdm { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "xzqmc")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        [Editable(true)]
        public string xzqmc { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "citydm")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        [Editable(true)]
        public string citydm { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "citymc")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        [Editable(true)]
        public string citymc { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "provmc")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        [Editable(true)]
        public string provmc { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "provdm")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        [Editable(true)]
        public string provdm { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "data_id")]
        [Column(TypeName = "string()")]
        [Editable(true)]
        public string data_id { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "isread")]
        [Column(TypeName = "int")]
        [Editable(true)]
        public int? isread { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "create_time")]
        [Column(TypeName = "DateTime")]
        public DateTime? create_time { get; set; }

        /// <summary>
        ///
        /// </summary>
        [Display(Name = "create_name")]
        [MaxLength(255)]
        [Column(TypeName = "string(255)")]
        public string create_name { get; set; }


    }
}